home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / SOFTWARE / ISSUE2 / PD / VINCE / !ViNCe / Makefile < prev    next >
Makefile  |  2002-07-03  |  1KB  |  37 lines

  1. #
  2. # Makefile for VNC
  3. #
  4.  
  5. CLib          = libscl
  6. #CLib          = unixlib
  7. CCFlags       = -c -O2 -DLOG -Izlib -IOSLib: -mthrowback -Wall
  8. LinkFlags     = -o $@
  9. ASMflags      = -ThrowBack -Stamp -quit -CloseExec
  10.  
  11. Libs          = OSLib:o.OSLib zlib.zlib-$(Clib)
  12. Objects       = o.vncviewer o.sockets o.rfbproto o.ip o.d3des \
  13.                 o.vncauth o.display o.mcode o.antitwit o.cursor
  14.  
  15. VNC:          $(Objects) $(Libs)
  16.               %gcc -m$(Clib) $(Linkflags) $(Objects) $(Libs)
  17.               Squeeze -f -v VNC
  18.  
  19. .c.o:;        %gcc -m$(Clib) $(CCflags) $< -o $@
  20. .s.o:;        objasm $(ASMflags) -from $< -to $@
  21.  
  22. # Dynamic dependencies:
  23. o.antitwit:   c.antitwit
  24. o.cursor:     c.cursor h.rfbproto h.vncviewer
  25. o.d3des:      c.d3des h.d3des
  26. o.display:    c.display h.display h.rfbproto h.vncviewer h.mcode
  27. o.ip:         c.ip h.ip
  28. o.mcode:      s.mcode h.mcode
  29. o.rfbproto:   c.rfbproto \
  30.               c.rre16 c.corre16 c.hextile16 c.tight16 \
  31.               c.rre8  c.corre8  c.hextile8 \
  32.               h.rfbproto h.vncviewer h.display h.vncauth h.vnckeys \
  33.               h.ip h.sockets
  34. o.sockets:    c.sockets h.rfbproto h.vncviewer h.ip
  35. o.vncauth:    c.vncauth h.d3des h.vncauth
  36. o.vncviewer:  c.vncviewer h.rfbproto h.vncviewer h.display h.vnckeys h.antitwit
  37.